/**
 * 
 */
package system;

/**
 * @author xyyi
 *
 */
public class CountLastKUnitTimeEvent {

	private int[] seconds = new int[60];
	private int[] mintues = new int[60];
	private int[] hours = new int[24];

	/**
	http://www.mitbbs.com/article_t1/JobHunting/32458451_0_1.html

	http://www.careercup.com/question?id=14974850
	http://www.careercup.com/question?id=6005446611566592

	Implement the API that counts the number of events in the last sec/min/hr/day:
	SMHDCounter {
	void Increment();
	int LastSecCount(); // also functions for minute, hour
	int LastDayCount();
	}
	Additional requirements
	- you require that the data be quite fresh
	- how much storage will they take up
	- make sure this works for an active counter, getting 100s of events a second.
	- keep the implementation fast. E.g. under 10 mS. Or even better motivate by 
	  saying we might have 50 of these SMHD counters on a single status page, 
	  and ask the candidate how fast their solution should be.
	 */
	public int lastSecCount() {
		return 0;
	}

	/**
	 * 
	 */
	public CountLastKUnitTimeEvent() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
